package tekdays

class Sponsor {
	
	String name
	String website
	String description
	byte[] logo
	static hasMany=[sponsorships:Sponsorship]
		
	String toString(){
		name
	}
	
	static constraints = {
		name(blank:false)
		website(blank:false)
		description(nullable:true)
		logo(nullable:true, maxSize:1000000)
		sponsorships(nullable:true)
	}
}
